package com.vote.model;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;


public class Questionnaire implements Serializable{
    

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public static final int QuestionnaireStatus_Offline = 0;
    public static final int QuestionnaireStatus_Online = 1;
    public static final int QuestionnaireStatus_Delete = 2;
    
    public static final int QuestionnaireType_PK = 0;
    public static final int QuestionnaireType_SingleChoice = 1;
    public static final int QuestionnaireType_MultipleChoice = 2;
    
    
    private int questionnaireId;
    private int ownerId;
    private String ownerName;
    private String questionnaireName;
    private String questionnaireDescription;
    private int questionnaireStatus;
    private int questionnaireCount;
    private int questionnaireGroup;
    private String questionnaireGroupName;
    private int questionnaireType;
    private String questionnaireTypeName;
    private Timestamp questionnaireTime;
    private List<Question> questionList;
	private List<Comment> commentList;
    
    public int getQuestionnaireId() {
        return questionnaireId;
    }
    
    public void setQuestionnaireId(int questionnaireId) {
        this.questionnaireId = questionnaireId;
    }
    
    public int getOwnerId() {
        return ownerId;
    }
    
    public void setOwnerId(int ownerId) {
        this.ownerId = ownerId;
    }
    
    public String getOwnerName() {
        return ownerName;
    }
    
    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }
    
    public String getQuestionnaireName() {
        return questionnaireName;
    }
    
    public void setQuestionnaireName(String questionnaireName) {
        this.questionnaireName = questionnaireName;
    }
    
    public String getQuestionnaireDescription() {
        return questionnaireDescription;
    }
    
    public void setQuestionnaireDescription(String questionnaireDescription) {
        this.questionnaireDescription = questionnaireDescription;
    }
    
    public int getQuestionnaireStatus() {
        return questionnaireStatus;
    }
    
    public void setQuestionnaireStatus(int questionnaireStatus) {
        this.questionnaireStatus = questionnaireStatus;
    }
    
    public int getQuestionnaireCount() {
        return questionnaireCount;
    }
    
    public void setQuestionnaireCount(int questionnaireCount) {
        this.questionnaireCount = questionnaireCount;
    }
    
    public int getQuestionnaireGroup() {
        return questionnaireGroup;
    }
    
    public void setQuestionnaireGroup(int questionnaireGroup) {
        this.questionnaireGroup = questionnaireGroup;
    }
    
    public String getQuestionnaireGroupName() {
		return questionnaireGroupName;
	}

	public void setQuestionnaireGroupName(String questionnaireGroupName) {
		this.questionnaireGroupName = questionnaireGroupName;
	}

	public String getQuestionnaireTypeName() {
		return questionnaireTypeName;
	}

	public void setQuestionnaireTypeName(String questionnaireTypeName) {
		this.questionnaireTypeName = questionnaireTypeName;
	}

	public int getQuestionnaireType() {
        return questionnaireType;
    }
    
    public void setQuestionnaireType(int questionnaireType) {
        this.questionnaireType = questionnaireType;
    }
    
    public List<Question> getQuestionList() {
        return questionList;
    }
    
    public void setQuestionList(List<Question> questionList) {
        this.questionList = questionList;
    }
	
	public List<Comment> getCommentList(){
		return commentList;
	}
	
	public void setCommentList(List<Comment> commentList){
		this.commentList = commentList;
	}

    public void setQuestionnaireTime(Timestamp questionnaireTime) {
        this.questionnaireTime = questionnaireTime;
    }

    public Timestamp getQuestionnaireTime() {
        return questionnaireTime;
    }

}
